package IoC;

/**
 * @author krystal
 * @date 2023/3/5 18:23
 */
public class FrameWork {
    public Buttom buttom;

    public FrameWork(Buttom buttom){
        this.buttom=buttom;
    }

    public void init(){
        System.out.println("执行framework");
        //依赖车底
        buttom.init();
    }
}
